//
//  Ability.m
//  NetWorkManager
//
//  Created by FeiXiang on 16/12/8.
//  Copyright © 2016年 飞翔. All rights reserved.
//

#import "Ability.h"
 
@implementation Ability

+(BOOL)hasNet
{
    Reachability * ability =[ Reachability reachabilityForInternetConnection];
    
    return  ![ability currentReachabilityStatus]== NotReachable;
}

@end
